import Vue from 'vue';
import App from './App.vue';
import { Dialog ,Button, Loading ,Cell, CellGroup,Toast} from 'vant';
Vue.use(Dialog);
Vue.use(Cell);
Vue.use(CellGroup);
Vue.use(Button);
Vue.use(Loading);
Vue.use(Toast);
import store from "./store";
const Bus=new Vue({})
Vue.prototype.Bus=Bus
// import 'font-awesome/css/font-awesome.css'
import Axios from 'axios'
Axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded';
Vue.prototype.$axios = Axios
import "./components/plugins/vant.js";
import router from "./router";
Vue.config.productionTip = false
import qs from 'qs'
Vue.prototype.$qs = qs
import AMap from 'vue-amap';
Vue.use(AMap);
AMap.initAMapApiLoader({
  key:'e32b652d7bf9a2700321eb82a42a6057',
  plugin:['AMap.Geolocation']
});
Vue.config.productionTip = false;
new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app');
